home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
commadio
/
easupgen
/
xteupg1.xts
< prev
next >
Wrap
Text File
|
1989-09-17
|
2KB
|
85 lines
/*
Ease-Up V1.7 (GEnie Version) INCLUDE file #1 for CROSSTALK Mk.4 v1.1
This file, XTEUPC1.XTS, and its companion file XTEUPC2.XTS are used
by the scripts generated by Ease-Up V1.7 and are required for the
proper operation of those scripts.
The files are 'include' files and are included into and compiled with
the Ease-Up generated scripts. Their location in the generated script
file is important, so if for some reason you decide to make any changes
to the generated code keep this in mind.
The XTALK4 Reference Manual states in its notes on the INCLUDE statement
that the XTPATH path is not searched for include files. I've found that
this is not the case, and source files on the XTPATH are included. In
any case, these files must be available to XTALK4 in order for the
generated scripts to compile. Keeping the generated scripts and the
include files together in the same subdirectory will take care of it.
You should refer to your XTALKK4 manuals for the details of how include
files are handled.
*/
/*
revision notes:
V1.7 09-17-89:
initial release with Ease-Up V1.7 (GEnie Version).
*/
/*
* guarantee the protocol
* is XMODEM
*
*/
if protocol <> 'XMODEM' then {
protocol 'XMODEM'
}
/*
* set host params
*
*/
databits 8
parity none
stopbits 1
timing normal
/*
* define the error window
* and hide it
*
*/
wn = freewin
window #wn,at 1,1,size 3,35,border 3
errwn = freewin
window #errwn,at 1,40,size 4,35,border 1,color 14,alert
hide #errwn
print #wn,'Ease-Up script running...'
/*
* make sure we're online
*
*/
if not online then {
EXCUSE_ME
exit
}
/*
* initialize vars
*
*/
YES = 1
NO = 0
err_num = 0
track clear
track 1, 'Choice no good, Please try again'
track routine ERROR_HDLR
if not stat_wn then hide #wn
if cmnd_mode = YES then
gosub C_MODE
else
gosub M_MODE